package com.design.pattern.structural.decorator.v1;

/**
 * 认认真真写写
 * User: RenQiQiqng
 * Date: 2019/3/10-Time: 17:26
 * Description:
 */
public class BattercakeWithEggSausage extends BattercakeWithEgg{
    @Override
    public String getDesc() {
        return super.getDesc() + "加一个香肠";
    }

    @Override
    public int cost() {
        return super.cost() + 2;
    }
}
